package org.appFactory.carleton;

import javax.servlet.http.HttpServletResponse;
import org.appFactory.shared.Util;
import org.apache.struts2.interceptor.ServletResponseAware;
import org.json.JSONException;
import org.json.JSONObject;

@SuppressWarnings("serial")
public class Test extends CarletonBaseListener implements ServletResponseAware {

	private HttpServletResponse response = null;
	
	private String testVar;
	
	
	public String getTestVar() {
		return testVar;
	}

	public void setTestVar(String testVar) {
		this.testVar = testVar;
	}

	public void setServletResponse(HttpServletResponse response) {
		this.response = response;
	}
	
	public HttpServletResponse getServletResponse() {
		return this.response;
	}
	
	public String execute() {
		
		testVar = getFacebookService().getOAuthDialogURL("Hi");
		return SUCCESS;
	}
}
